home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
doom
/
server_1.zip
/
_DRONE.QH
< prev
next >
Wrap
Text File
|
1996-10-04
|
2KB
|
68 lines
/*
**
** _drone.qh (Rank Header, 1.0)
**
** Copyright (C) 1996 Johannes Plass
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**
** Author: Johannes Plass (plass@dipmza.physik.uni-mainz.de)
**
*/
float DRONE_THINK_NEXTTIME = 0.2; // when to call 'think' the next time
float DRONE_THINK_FIRSTTIME = 0.6; // when to call 'think' the first time
float DRONE_LIFETIME = 6; // lifetime of a drone
float DRONE_VELOCITY_START = 400; // initial velocity
float DRONE_TARGET_OFFSET_Z = 16;
string drone_launch_sound_1;
string drone_launch_sound_2;
string drone_hoover_sound;
.float drone_targeting_time;
.float drone_bounce_time;
.float drone_bounce_sound_time;
.float drone_bounced;
.float drone_target_is_fixed;
.vector drone_target_vector;
.vector drone_target_velocity;
.float drone_set_target_vector_time;
.float drone_stuck;
.float drone_sound_time;
.entity drone_owner;
.entity drone_1;
.entity drone_2;
.entity drone_4;
.entity drone_8;
.float drone_count;
.float drone_in_queue;
.float drone_firstthink;
.vector drone_origin_old;
.float drone_speed;
void(entity player) DroneInfo;
void(entity player) DroneInit;
void(entity player) DroneActiveMessage;
void(entity player) DroneHelp;
void(entity player) DroneToggleWeapon;
void(entity player) DroneResetWeapon;
void(entity drone) DroneFire;
void() DroneThink;
void() DroneTouch;
void() DroneDie;
float(entity drone) DroneFindTarget;
float(entity targ,entity drone) DroneUpdateTargetData;